

set(googletest_path "${CMAKE_CURRENT_LIST_DIR}/googletest/googletest")
list(APPEND SOURCES "gtest-all.cc")


list(TRANSFORM SOURCES PREPEND "${googletest_path}/src/")
#list (JOIN SOURCES ";" SOURCES)

#message("${SOURCES}")
add_library(googletest STATIC "${SOURCES}")
target_include_directories(
    googletest
    PUBLIC
    #EXCLUDE_FROM_ALL
    "${googletest_path}/;${googletest_path}/include"
    )
